Compartir a través de


ISfcPropertySet.TryGetProperty Método

Attempts to get the property metadata. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Function TryGetProperty ( _
    name As String, _
    <OutAttribute> ByRef property As ISfcProperty _
) As Boolean
'Uso
Dim instance As ISfcPropertySet 
Dim name As String 
Dim property As ISfcProperty 
Dim returnValue As Boolean 

returnValue = instance.TryGetProperty(name, _
    property)
bool TryGetProperty(
    string name,
    out ISfcProperty property
)
bool TryGetProperty(
    String^ name, 
    [OutAttribute] ISfcProperty^% property
)
abstract TryGetProperty : 
        name:string * 
        property:ISfcProperty byref -> bool
function TryGetProperty(
    name : String, 
    property : ISfcProperty
) : boolean

Parámetros

Valor devuelto

Tipo: System.Boolean
true if the property metadata is successfully retrieved; otherwise, false.

Vea también

Referencia

ISfcPropertySet Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc