Delen via


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)

Syntax

'Declaration
Protected Friend Function GetPropValueOptionalAllowNull ( _
    propName As String _
) As Object
'Usage
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

Parameters

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

Return Value

Type: System.Object
A Object property value.