共用方式為


Create 方法 (String)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Create ( _
    identity As String _
)
'用途
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
)

參數

範例

呼叫方法