Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 TryGetProperty ( _
propertyName As String, _
<OutAttribute> ByRef property As ISfcProperty _
) As Boolean
'Utilisation
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim property As ISfcProperty
Dim returnValue As Boolean
returnValue = instance.TryGetProperty(propertyName, _
property)
public bool TryGetProperty(
string propertyName,
out ISfcProperty property
)
public:
virtual bool TryGetProperty(
String^ propertyName,
[OutAttribute] ISfcProperty^% property
) sealed
abstract TryGetProperty :
propertyName:string *
property:ISfcProperty byref -> bool
override TryGetProperty :
propertyName:string *
property:ISfcProperty byref -> bool
public final function TryGetProperty(
propertyName : String,
property : ISfcProperty
) : boolean
Paramètres
- propertyName
Type : System.String
A string that represents the property name.
- property
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty%
The SfcProperty in the collection.
Valeur de retour
Type : System.Boolean
true if property tries to get its specified property; otherwise, false.
Implémente
ISfcPropertySet.TryGetProperty(String, ISfcProperty%)