Dela via


SqlSmoObject.GetPropValueOptional Method

Gets a property value of the SqlSmoObject object.

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

Syntax

'Declaration
Protected Friend Function GetPropValueOptional ( _
    propName As String _
) As Object
'Usage
Dim propName As String
Dim returnValue As Object

returnValue = Me.GetPropValueOptional(propName)
protected internal Object GetPropValueOptional(
    string propName
)
protected public:
Object^ GetPropValueOptional(
    String^ propName
)
member GetPropValueOptional : 
        propName:string -> Object 
 function GetPropValueOptional(
    propName : String
) : Object

Parameters

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

Return Value

Type: System.Object
A Object property value.