Dela via


SqlSmoObject.GetGuidParameter Method

Assigns a Guid property of the SqlSmoObject.

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

Syntax

'Declaration
Protected Friend Function GetGuidParameter ( _
    buffer As StringBuilder, _
    so As ScriptingOptions, _
    propName As String, _
    sqlPropScript As String, _
    ByRef count As Integer _
) As Boolean
'Usage
Dim buffer As StringBuilder
Dim so As ScriptingOptions
Dim propName As String
Dim sqlPropScript As String
Dim count As Integer
Dim returnValue As Boolean

returnValue = Me.GetGuidParameter(buffer, _
    so, propName, sqlPropScript, count)
protected internal bool GetGuidParameter(
    StringBuilder buffer,
    ScriptingOptions so,
    string propName,
    string sqlPropScript,
    ref int count
)
protected public:
bool GetGuidParameter(
    StringBuilder^ buffer, 
    ScriptingOptions^ so, 
    String^ propName, 
    String^ sqlPropScript, 
    int% count
)
member GetGuidParameter : 
        buffer:StringBuilder * 
        so:ScriptingOptions * 
        propName:string * 
        sqlPropScript:string * 
        count:int byref -> bool 
 function GetGuidParameter(
    buffer : StringBuilder, 
    so : ScriptingOptions, 
    propName : String, 
    sqlPropScript : String, 
    count : int
) : boolean

Parameters

  • propName
    Type: System.String
    A string value that specifies the property name.
  • sqlPropScript
    Type: System.String
    A string value that specifies the script.

Return Value

Type: System.Boolean
A Boolean value true if the property exists and is assigned, otherwise false.