SqlSmoObject.GetPropValueOptionalAllowNull 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 GetPropValueOptionalAllowNull ( _
    propName As String _
) As Object
Dim propName As String
Dim returnValue As Object

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


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

Return Value

Type: System.Object
A Object property value.