Share via


NameKey Constructor

Initializes a new instance of the NameKey class with the specified key name.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public Sub New ( _
    keyName As String _
)
'Usage
Dim keyName As String

Dim instance As New NameKey(keyName)
public NameKey(
    string keyName
)
public:
NameKey(
    String^ keyName
)
new : 
        keyName:string -> NameKey
public function NameKey(
    keyName : String
)

Parameters