共用方式為


NameKey 建構函式

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

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Public Sub New ( _
    keyName As String _
)
'用途
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
)

參數