IUserFactory.CreateAsymmetricKeyUser 메서드

Creates an IMutableUser object that belongs to the specified IDatabase object and has the specified name. The UserType property of the created object is set to AsymmetricKey.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)


Function CreateAsymmetricKeyUser ( _
    database As IDatabase, _
    name As String _
) As IMutableUser
‘사용 방법
Dim instance As IUserFactory 
Dim database As IDatabase 
Dim name As String 
Dim returnValue As IMutableUser 

returnValue = instance.CreateAsymmetricKeyUser(database, _
IMutableUser CreateAsymmetricKeyUser(
    IDatabase database,
    string name
IMutableUser^ CreateAsymmetricKeyUser(
    IDatabase^ database, 
    String^ name
abstract CreateAsymmetricKeyUser : 
        database:IDatabase * 
        name:string -> IMutableUser
function CreateAsymmetricKeyUser(
    database : IDatabase, 
    name : String
) : IMutableUser

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableUser
An IMutableUser object.

참고 항목


IUserFactory 인터페이스

Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스