Share via


DeployedDac.Key Constructor

Initializes a new instance of the DeployedDac.Key class that has the specified 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, _
    keyServerInstanceName As String _
)
'Usage
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
)

Parameters

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