GetDateTimeParameter 方法
指派 SqlSmoObject 的日期時間屬性。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Protected Friend Sub GetDateTimeParameter ( _
buffer As StringBuilder, _
so As ScriptingOptions, _
propName As String, _
sqlPropScript As String, _
ByRef count As Integer _
)
'用途
Dim buffer As StringBuilder
Dim so As ScriptingOptions
Dim propName As String
Dim sqlPropScript As String
Dim count As Integer
Me.GetDateTimeParameter(buffer, so, _
propName, sqlPropScript, count)
protected internal void GetDateTimeParameter(
StringBuilder buffer,
ScriptingOptions so,
string propName,
string sqlPropScript,
ref int count
)
protected public:
void GetDateTimeParameter(
StringBuilder^ buffer,
ScriptingOptions^ so,
String^ propName,
String^ sqlPropScript,
int% count
)
member GetDateTimeParameter :
buffer:StringBuilder *
so:ScriptingOptions *
propName:string *
sqlPropScript:string *
count:int byref -> unit
function GetDateTimeParameter(
buffer : StringBuilder,
so : ScriptingOptions,
propName : String,
sqlPropScript : String,
count : int
)
參數
- buffer
型別:System.Text. . :: . .StringBuilder
StringBuilder 物件緩衝。
- propName
型別:System. . :: . .String
指定屬性名稱的字串值。
- sqlPropScript
型別:System. . :: . .String
指定指令碼的字串值。
- count
型別:System. . :: . .Int32%
指定計數之 Int32 的指標。