共用方式為


DeployedDac.Key 建構函式

Initializes a new instance of the DeployedDac..::..Key class that has the specified name.

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

語法

'宣告
Public Sub New ( _
    keyName As String, _
    keyServerInstanceName As String _
)
'用途
Dim keyName As String
Dim keyServerInstanceName As String

Dim instance As New DeployedDac..::..Key(keyName, _
    keyServerInstanceName)
public Key(
    string keyName,
    string keyServerInstanceName
)
public:
Key(
    String^ keyName, 
    String^ keyServerInstanceName
)
new : 
        keyName:string * 
        keyServerInstanceName:string -> Key
public function DeployedDac..::..Key(
    keyName : String, 
    keyServerInstanceName : String
)

參數

  • keyServerInstanceName
    型別:System. . :: . .String
    A String value that specifies the name of the server instance associated with the key.