Share via


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
Public method CreateAsymmetricKeyLogin Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to AsymmetricKey.
Public method CreateCertificateLogin Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Certificate.
Public method CreatePassword Creates an IMutablePassword object.
Public method CreateSqlLogin Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Sql.
Public method CreateWindowsLogin Creates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Windows.

Top