ObjectSet.CalculateTargets 메서드 (SqlStoreConnection, String)
Calculates an expression with results applied to the targets.
네임스페이스: Microsoft.SqlServer.Management.Dmf
어셈블리: Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)
구문
‘선언
Public Function CalculateTargets ( _
sqlStoreConnection As SqlStoreConnection, _
policyCategory As String _
) As IEnumerable
‘사용 방법
Dim instance As ObjectSet
Dim sqlStoreConnection As SqlStoreConnection
Dim policyCategory As String
Dim returnValue As IEnumerable
returnValue = instance.CalculateTargets(sqlStoreConnection, _
policyCategory)
public IEnumerable CalculateTargets(
SqlStoreConnection sqlStoreConnection,
string policyCategory
)
public:
IEnumerable^ CalculateTargets(
SqlStoreConnection^ sqlStoreConnection,
String^ policyCategory
)
member CalculateTargets :
sqlStoreConnection:SqlStoreConnection *
policyCategory:string -> IEnumerable
public function CalculateTargets(
sqlStoreConnection : SqlStoreConnection,
policyCategory : String
) : IEnumerable
매개 변수
- sqlStoreConnection
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A ISfcConnection object.
- policyCategory
유형: System.String
A string value that specifies the policy.
반환 값
유형: System.Collections.IEnumerable
An IEnumerable object.