ICertificateFactory.CreateCertificate 메서드
Creates an IMutableCertificate object that belongs to the specified IDatabase object and has the specified name.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Function CreateCertificate ( _
database As IDatabase, _
name As String _
) As IMutableCertificate
‘사용 방법
Dim instance As ICertificateFactory
Dim database As IDatabase
Dim name As String
Dim returnValue As IMutableCertificate
returnValue = instance.CreateCertificate(database, _
name)
IMutableCertificate CreateCertificate(
IDatabase database,
string name
)
IMutableCertificate^ CreateCertificate(
IDatabase^ database,
String^ name
)
abstract CreateCertificate :
database:IDatabase *
name:string -> IMutableCertificate
function CreateCertificate(
database : IDatabase,
name : String
) : IMutableCertificate
매개 변수
- database
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase
The IDatabase object that is the parent of the certificate.
- name
유형: System.String
The name of the certificate.
반환 값
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableCertificate
An IMutableCertificate object.
참고 항목
참조
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스