Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlSmoObject.GetStringParameter Method (StringBuilder, ScriptingOptions, String, String, Int32%, Boolean)

Assigns a string parameter of the SqlSmoObject object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
protected internal bool GetStringParameter(
	StringBuilder buffer,
	ScriptingOptions so,
	string propName,
	string sqlPropScript,
	ref int count,
	bool throwIfNotSet
)

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.
throwIfNotSet
Type: System.Boolean
A Boolean value that indicates whether to throw and exception if the parameter is not set.

Return Value

Type: System.Boolean
A Boolean value, true if the method succeeds, otherwise false.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.