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)
Syntax
'Declaration
Public Interface ILoginFactory
'Usage
Dim instance As ILoginFactory
public interface ILoginFactory
public interface class ILoginFactory
type ILoginFactory = interface end
public interface ILoginFactory
The ILoginFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateAsymmetricKeyLogin | Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to AsymmetricKey. | |
CreateCertificateLogin | Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Certificate. | |
CreatePassword | Creates an IMutablePassword object. | |
CreateSqlLogin | Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Sql. | |
CreateWindowsLogin | Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Windows. |
Top