Partilhar via


Método SqlSmoObject.GetPropValueOptional

Gets a property value of the SqlSmoObject object.

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

Sintaxe

'Declaração
Protected Friend Function GetPropValueOptional ( _
    propName As String _
) As Object
'Uso
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

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

SqlSmoObject Classe

Namespace Microsoft.SqlServer.Management.Smo