SfcPropertyCollection.TryGetPropertyValue Method (String, Object%)
Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function TryGetPropertyValue ( _
propertyName As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
'Usage
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
Parameters
- propertyName
Type: System.String
A string that represents the property name.
- value
Type: System.Object%
The value of the object.
Return Value
Type: System.Boolean
true if the Property tries to get the property value; otherwise, false.
Implements
ISfcPropertySet.TryGetPropertyValue(String, Object%)