Share via


ILoginFactory.CreateCertificateLogin Method

Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Certificate.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function CreateCertificateLogin ( _
    server As IServer, _
    name As String _
) As IMutableLogin
'Usage
Dim instance As ILoginFactory 
Dim server As IServer 
Dim name As String 
Dim returnValue As IMutableLogin 

returnValue = instance.CreateCertificateLogin(server, _
    name)
IMutableLogin CreateCertificateLogin(
    IServer server,
    string name
)
IMutableLogin^ CreateCertificateLogin(
    IServer^ server, 
    String^ name
)
abstract CreateCertificateLogin : 
        server:IServer * 
        name:string -> IMutableLogin
function CreateCertificateLogin(
    server : IServer, 
    name : String
) : IMutableLogin

Parameters

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableLogin
An IMutableLogin object.

See Also

Reference

ILoginFactory Interface

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace