Partager via


Méthode Create (String, String)

Creates a credential on the instance of SQL Server as defined by the Credential object.

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

Syntaxe

'Déclaration
Public Sub Create ( _
    identity As String, _
    secret As String _
)
'Utilisation
Dim instance As Credential
Dim identity As String
Dim secret As String

instance.Create(identity, secret)
public void Create(
    string identity,
    string secret
)
public:
void Create(
    String^ identity, 
    String^ secret
)
member Create : 
        identity:string * 
        secret:string -> unit 
public function Create(
    identity : String, 
    secret : String
)

Paramètres