Export (0) Print
Expand All
Expand Minimize

SqlSmoObject.GetDateTimeParameterAsInt Method

Assigns the datetime property of the SqlSmoObject as an integer value if the datetime property is not null.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected internal bool GetDateTimeParameterAsInt(
	StringBuilder buffer,
	ScriptingOptions so,
	string propName,
	string sqlPropScript,
	ref int count
)

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.
count
Type: System.Int32%
A pointer to Int32 that specifies the count.

Return Value

Type: System.Boolean
A Boolean value that indicates whether the property was assigned, True if the property was not null and was assigned to an integer value, otherwise False.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft