Método GetEnumParameter
Atribui uma propriedade de enumeração do SqlSmoObject.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Protected Friend Sub GetEnumParameter ( _
buffer As StringBuilder, _
so As ScriptingOptions, _
propName As String, _
sqlPropScript As String, _
enumtype As Type, _
ByRef count As Integer _
)
'Uso
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
)
Parâmetros
- buffer
Tipo: System.Text. . :: . .StringBuilder
Um buffer do objeto StringBuilder.
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
Um objeto ScriptingOptions.
- propName
Tipo: System. . :: . .String
Um valor de cadeia de caracteres que especifica o nome da propriedade.
- sqlPropScript
Tipo: System. . :: . .String
Um valor de cadeia de caracteres que especifica o script.
- enumtype
Tipo: System. . :: . .Type
Um Type que especifica o tipo de enumeração.
- count
Tipo: System. . :: . .Int32%
Um ponteiro para Int32 que especifica a contagem.