GetEnumParameter 메서드
SqlSmoObject 의 열거 속성을 할당합니다.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Protected Friend Sub GetEnumParameter ( _
buffer As StringBuilder, _
so As ScriptingOptions, _
propName As String, _
sqlPropScript As String, _
enumtype As Type, _
ByRef count As Integer _
)
‘사용 방법
Dim buffer As StringBuilder
Dim so As ScriptingOptions
Dim propName As String
Dim sqlPropScript As String
Dim enumtype As Type
Dim count As Integer
Me.GetEnumParameter(buffer, so, propName, _
sqlPropScript, enumtype, count)
protected internal void GetEnumParameter(
StringBuilder buffer,
ScriptingOptions so,
string propName,
string sqlPropScript,
Type enumtype,
ref int count
)
protected public:
void GetEnumParameter(
StringBuilder^ buffer,
ScriptingOptions^ so,
String^ propName,
String^ sqlPropScript,
Type^ enumtype,
int% count
)
member GetEnumParameter :
buffer:StringBuilder *
so:ScriptingOptions *
propName:string *
sqlPropScript:string *
enumtype:Type *
count:int byref -> unit
function GetEnumParameter(
buffer : StringBuilder,
so : ScriptingOptions,
propName : String,
sqlPropScript : String,
enumtype : Type,
count : int
)
매개 변수
- buffer
유형: System.Text. . :: . .StringBuilder
StringBuilder 개체 버퍼입니다.
- propName
유형: System. . :: . .String
속성 이름을 지정하는 문자열 값입니다.
- sqlPropScript
유형: System. . :: . .String
스크립트를 지정하는 문자열 값입니다.
- enumtype
유형: System. . :: . .Type
열거 유형을 지정하는 Type입니다.
- count
유형: System. . :: . .Int32%
개수를 지정하는 Int32에 대한 포인터입니다.