Credential.Create Method (String)

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 _
)
'Usage
Dim instance As Credential 
Dim identity As String

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

Parameters

Examples

Calling Methods

See Also

Reference

Credential Class

Create Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE CREDENTIAL (Transact-SQL)

Credentials (Database Engine)