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)


Protected Friend Function GetPropValueOptional ( _
    propName As String _
) As Object
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


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

Return Value

Type: System.Object
An Object value representing the property value.

See Also


SqlSmoObject Class

Microsoft.SqlServer.Management.Smo Namespace