SqlSmoObject.GetEnumParameter Method
Assigns an enumeration property of the SqlSmoObject.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Friend Sub GetEnumParameter ( _
buffer As StringBuilder, _
so As ScriptingOptions, _
propName As String, _
sqlPropScript As String, _
enumtype As Type, _
ByRef count As Integer _
)
'Usage
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
)
Parameters
- buffer
Type: System.Text.StringBuilder
A StringBuilder object buffer.
- so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object.
- propName
Type: System.String
A string value that specifies the property name.
- sqlPropScript
Type: System.String
A string value that specifies the script.
- enumtype
Type: System.Type
A Type that specifies the enumeration type.
- count
Type: System.Int32%
A pointer to Int32 that specifies the count.