Compartir a través de


. Método

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

Sintaxis

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

returnValue = CType(instance, ISfcPropertySet).TryGetProperty(name, _
    property)
bool ISfcPropertySet.TryGetProperty(
    string name,
    out ISfcProperty property
)
private:
virtual bool TryGetProperty(
    String^ name, 
    [OutAttribute] ISfcProperty^% property
) sealed = ISfcPropertySet::TryGetProperty
private abstract TryGetProperty : 
        name:string * 
        property:ISfcProperty byref -> bool 
private override TryGetProperty : 
        name:string * 
        property:ISfcProperty byref -> bool 
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.

Parámetros

  • property
    Tipo: ISfcProperty%

Valor devuelto

Tipo: System. . :: . .Boolean

Implementa

ISfcPropertySetTryGetProperty(String, ISfcProperty%)