Login.DropCredential 方法
Drops a login credential.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub DropCredential ( _
credentialName As String _
)
'用途
Dim instance As Login
Dim credentialName As String
instance.DropCredential(credentialName)
public void DropCredential(
string credentialName
)
public:
void DropCredential(
String^ credentialName
)
member DropCredential :
credentialName:string -> unit
public function DropCredential(
credentialName : String
)
參數
- credentialName
型別:System.String
String identifying the credential to be dropped.
備註
Not to be confused with the Credential class method Drop().