Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a credential on the instance of SQL Server as defined by the Credential object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Create ( _
identity As String, _
secret As String _
)
'Usage
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
)
Parameters
- identity
Type: System.String
A String value that specifies the name of the credential.
- secret
Type: System.String
A String value that specifies the password for the credential.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace