ILoginFactory Interface

 

Defines methods that are used to create SQL Server login objects.

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

public interface ILoginFactory

NameDescription
System_CAPS_pubmethodCreateAsymmetricKeyLogin(IServer, String)

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

System_CAPS_pubmethodCreateCertificateLogin(IServer, String)

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

System_CAPS_pubmethodCreatePassword()

Creates an IMutablePassword object.

System_CAPS_pubmethodCreateSqlLogin(IServer, String)

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

System_CAPS_pubmethodCreateWindowsLogin(IServer, String)

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

Return to top
Show: