Export (0) Print
Expand All

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

The ILoginFactory type exposes the following members.

  NameDescription
Public methodCreateAsymmetricKeyLoginCreates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to AsymmetricKey.
Public methodCreateCertificateLoginCreates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Certificate.
Public methodCreatePasswordCreates an IMutablePassword object.
Public methodCreateSqlLoginCreates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Sql.
Public methodCreateWindowsLoginCreates an IMutableLogin object using the specified IServer object and name. The LoginType property of the created object is set to Windows.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft