Condividi tramite


Metodo TryGetProperty

Attempts to get the property metadata. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Function TryGetProperty ( _
    name As String, _
    <OutAttribute> ByRef property As ISfcProperty _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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