Partager via


Constructeur DeployedDac.Key

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

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    keyName As String, _
    keyServerInstanceName As String _
)
'Utilisation
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
)

Paramètres

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