Login.DropCredential Method
Drops a login credential.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub DropCredential ( _
credentialName As String _
)
'Usage
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
)
Parameters
- credentialName
Type: System.String
String identifying the credential to be dropped.