Méthode ISfcPropertySet.TryGetProperty
Attempts to get the property metadata. 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
Function TryGetProperty ( _
name As String, _
<OutAttribute> ByRef property As ISfcProperty _
) As Boolean
'Utilisation
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
Paramètres
- name
Type : System.String
The name of the property.
- property
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty%
An ISfcProperty object that represents property metadata.
Valeur de retour
Type : System.Boolean
true if the property metadata is successfully retrieved; otherwise, false.