Partager via


Méthode SfcPropertyCollection.TryGetPropertyValue (String, Object%)

Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function TryGetPropertyValue ( _
    propertyName As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
'Utilisation
Dim instance As SfcPropertyCollection 
Dim propertyName As String 
Dim value As Object 
Dim returnValue As Boolean 

returnValue = instance.TryGetPropertyValue(propertyName, _
    value)
public bool TryGetPropertyValue(
    string propertyName,
    out Object value
)
public:
virtual bool TryGetPropertyValue(
    String^ propertyName, 
    [OutAttribute] Object^% value
) sealed
abstract TryGetPropertyValue : 
        propertyName:string * 
        value:Object byref -> bool  
override TryGetPropertyValue : 
        propertyName:string * 
        value:Object byref -> bool
public final function TryGetPropertyValue(
    propertyName : String, 
    value : Object
) : boolean

Paramètres

  • propertyName
    Type : System.String
    A string that represents the property name.

Valeur de retour

Type : System.Boolean
true if the Property tries to get the property value; otherwise, false.

Implémente

ISfcPropertySet.TryGetPropertyValue(String, Object%)

Voir aussi

Référence

SfcPropertyCollection Classe

Surcharge TryGetPropertyValue

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc